package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bbzn.device.client.dao.history.OutsideTemperatureHisMapper;
import java.util.List;
import com.bbzn.device.client.dataobject.OutsideTemperatureHis;
import com.bbzn.device.client.service.OutsideTemperatureHisService;
@Service
public class OutsideTemperatureHisServiceImpl implements OutsideTemperatureHisService{

    @Resource
    private OutsideTemperatureHisMapper outsideTemperatureHisMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return outsideTemperatureHisMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.insertSelective(record);
    }

    @Override
    public OutsideTemperatureHis selectByPrimaryKey(Long id) {
        return outsideTemperatureHisMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OutsideTemperatureHis record) {
        return outsideTemperatureHisMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<OutsideTemperatureHis> findByAll(OutsideTemperatureHis outsideTemperatureHis) {
        return outsideTemperatureHisMapper.findByAll(outsideTemperatureHis);
    }

    @Override
    public int deleteByImei(String imei) {
        return outsideTemperatureHisMapper.deleteByImei(imei);
    }

    @Override
    public int updateBatch(List<OutsideTemperatureHis> list) {
        return outsideTemperatureHisMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<OutsideTemperatureHis> list) {
        return outsideTemperatureHisMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<OutsideTemperatureHis> list) {
        return outsideTemperatureHisMapper.batchInsert(list);
    }

}
